UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The cron log files must not have extended ACLs.


Overview

Finding ID Version Rule ID IA Controls Severity
V-22388 GEN003190 SV-37477r2_rule ECLP-1 ECTP-1 Medium
Description
Cron logs contain reports of scheduled system activities and must be protected from unauthorized access or manipulation.
STIG Date
Red Hat Enterprise Linux 5 Security Technical Implementation Guide 2015-03-12

Details

Check Text ( C-36144r2_chk )
Check the permissions of the file.

Procedure:
Depending on what system is used for log processing either /etc/syslog.conf or /etc/rsyslog.conf will be the logging configuration file. Check the configured cron log file found in the cron entry in /etc/syslog.conf or /etc/rsyslog.conf(normally /var/log/cron).
# grep cron /etc/syslog.conf
Or:
# grep cron /etc/rsyslog.conf

# ls -lL /var/log/cron

If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding.
Fix Text (F-31390r1_fix)
Remove the extended ACL from the file.
# setfacl --remove-all /var/log/cron